Towards Well-behaved Semantics Suitable for Aggregation
نویسنده
چکیده
Real Applications of Databases ask for the notion of Aggrega-tion. This, however, needs stronger semantics as usual. In particular, such semantics should extend the wellfounded semantics WFS. We study such extensions and determine which semantics are possible given certain abstract properties like partial evaluation, cumulativity, partial monotony and supraclassicality. While WFS + (introduced independently by Dix and Schlipf for other purposes) has recently been shown by Osorio and Jayaraman to be well suited for aggregation, it has higher complexity than WFS: it is on the rst level of the polynomial hierarchy. We present in this paper polynomial-time computable semantics which are also well suited. Our deenitions use a connuent and terminating calculus introduced by Brass and Dix and further reened by Brass, Freitag and Zukowski. This allows us to generalize our results to disjunctive logic programs. Finally, such semantics can also be used to improve the stable semantics by extending its scope (the class of programs where STABLE is consistent).
منابع مشابه
Towards Well-behaved Semantics Suitable for Aggregation towards Well-behaved Semantics Suitable for Aggregation
Real Applications of Databases ask for the support of Ag-gregation. This, however, needs stronger semantics than usual. In particular , such semantics should extend the wellfounded semantics WFS. We study such extensions and determine which semantics are possible given certain abstract properties like partial evaluation, cumulativity, partial monotony and supraclassicality. While WFS + (introdu...
متن کاملSuitable semantics for Logic Programming
In this paper we introduce the notion of a suitable semantics which is very similar to the notion of a well behaved semantics. While well-behaved semantics ask for the relevance property, suitable semantics ask for ratio-nality. We argue that suitable semantics can be more appropiated than well-behaved semantics in some cases. We also introduce CSC, which is a suitable semantics deened via a co...
متن کاملTowards a Mathematical Operational Semantics
We present a categorical theory of ‘well-behaved’ operational semantics which aims at complementing the established theory of domains and denotational semantics to form a coherent whole. It is shown that, if the operational rules of a programming language can be modelled as a natural transformation of a suitable general form, depending on functorial notions of syntax and behaviour, then one get...
متن کاملAggregation and Well-Founded Semantics
Set-grouping and aggregation are powerful non-monotonic operations of practical interest in database query languages. We consider the problem of expressing aggregation via negation as failure (NF). We study this problem in the framework of partial-order clauses introduced in JOM95]. We show a translation of partial-order programs to normal programs that is very natural: Any cost-monotonic parti...
متن کاملA general theory of confluent rewriting systems for logic programming and its applications
Recently, Brass and Dix showed (Journal of Automated Reasoning 20(1), 1998) that the wellfounded semantics WFS can be deened as a connuent calculus of transformation rules. This lead not only to a simple extension to disjunctive programs (Journal of Logic Programming 38(3), 1999), but also to a new computation of the wellfounded semantics which is linear for a broad class of programs. We take t...
متن کامل